import './assets/css/styles.css'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import VueTianditu from "vue-tianditu";
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App)

app.use(ElementPlus)
app.use(createPinia())
app.use(router)

app.use(VueTianditu, {
    v: import.meta.env.VITE_MP_VERSION, //目前只支持4.0版本
    tk: import.meta.env.VITE_MP_KEY
})

app.mount('#app')
